package com.example.reservationbilliards.config;

import com.example.reservationbilliards.pojo.UserConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

@Configuration
public class UserConfigLoader {

    @Bean
    @ConfigurationProperties(prefix = "users")
    public List<UserConfig> userConfigs() {
        return new ArrayList<>();
    }
}